<template>
  <div>
    <slider />
    <home-bottom v-on:goWorks="goWorks"/>
  </div>
</template>

<script>
import HomeBottom from "../components/HomeBottom.vue";
import Slider from "../components/Slider.vue";
export default {
  components: { Slider, HomeBottom },
  name: "SliderBottom",
  methods:{
    goWorks(){
        console.log("触发跳转");
        this.$router.replace("/works")
    }
  }
};
</script>

<style>
</style>
